using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
namespace MRSite.Entity
{

    [Table(Name = "customer_groups")]
    public class CustomerGroups : Entity
    {
        /// <summary>
        ///自增ID
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        ///组别名称
        /// </summary>
        [Column(Name = "title")]
        public String title { get; set; }

        /// <summary>
        ///会员等级值
        /// </summary>
        [Column(Name = "grade")]
        public int grade { get; set; }

        /// <summary>
        ///升级经验值
        /// </summary>
        [Column(Name = "upgrade_exp")]
        public int upgrade_exp { get; set; }

        /// <summary>
        /// 团队奖励%  默认预存款
        /// </summary>
        [Column(Name = "amount")]
        public Decimal amount { get; set; }

        /// <summary>
        ///默认积分
        /// </summary>
        [Column(Name = "point")]
        public int point { get; set; }

        /// <summary>
        ///购物折扣
        /// </summary>
        [Column(Name = "discount")]
        public int discount { get; set; }

        /// <summary>
        ///是否注册用户组
        /// </summary>
        [Column(Name = "is_default")]
        public String is_default { get; set; }

        /// <summary>
        ///是否自动升级
        /// </summary>
        [Column(Name = "is_upgrade")]
        public String is_upgrade { get; set; }

        /// <summary>
        ///是否禁用
        /// </summary>
        [Column(Name = "is_lock")]
        public String is_lock { get; set; }

        /// <summary>
        ///升级所需团队业绩(万)
        /// </summary>
        [Column(Name = "up_teamyeji")]
        public Decimal up_teamyeji { get; set; }

    }


}


